[INFO] cloning repository https://github.com/song9446/runterra-of-legends-simulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/song9446/runterra-of-legends-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsong9446%2Frunterra-of-legends-simulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsong9446%2Frunterra-of-legends-simulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b609063ee2c2304d1c2721ddabd81405377749a9
[INFO] checking song9446/runterra-of-legends-simulator against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsong9446%2Frunterra-of-legends-simulator" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/song9446/runterra-of-legends-simulator on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/song9446/runterra-of-legends-simulator
[INFO] finished tweaking git repo https://github.com/song9446/runterra-of-legends-simulator
[INFO] tweaked toml for git repo https://github.com/song9446/runterra-of-legends-simulator written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/song9446/runterra-of-legends-simulator already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] ebf1c20dfdcb096db772bba5eedbf7341aa84a84774a3c1a9c638158833b6804
[INFO] running `Command { std: "docker" "start" "-a" "ebf1c20dfdcb096db772bba5eedbf7341aa84a84774a3c1a9c638158833b6804", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ebf1c20dfdcb096db772bba5eedbf7341aa84a84774a3c1a9c638158833b6804", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ebf1c20dfdcb096db772bba5eedbf7341aa84a84774a3c1a9c638158833b6804", kill_on_drop: false }`
[INFO] [stdout] ebf1c20dfdcb096db772bba5eedbf7341aa84a84774a3c1a9c638158833b6804
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 03352cc6084b5e4a578fd18c2bfbc388171263920b66e1c0dcb7dc847ee3413c
[INFO] running `Command { std: "docker" "start" "-a" "03352cc6084b5e4a578fd18c2bfbc388171263920b66e1c0dcb7dc847ee3413c", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.7
[INFO] [stderr]     Checking bit_utils v0.1.1
[INFO] [stderr]     Checking data-encoding v2.1.2
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking varint v0.9.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.102
[INFO] [stderr]     Checking serde v1.0.102
[INFO] [stderr]     Checking lordeckcodes v0.3.0
[INFO] [stderr]     Checking runterra-of-legends-simulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unexpected token: `+=`
[INFO] [stdout]    --> src/lib.rs:253:15
[INFO] [stdout]     |
[INFO] [stdout] 253 |         card. += effect.defense_point;
[INFO] [stdout]     |               ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `}`
[INFO] [stdout]    --> src/lib.rs:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 |         }
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `{`, found `}`
[INFO] [stdout]    --> src/lib.rs:259:9
[INFO] [stdout]     |
[INFO] [stdout] 258 |             if event.
[INFO] [stdout]     |             -- this `if` expression has a condition, but no block
[INFO] [stdout] 259 |         }
[INFO] [stdout]     |         ^ expected `{`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `+=`
[INFO] [stdout]    --> src/lib.rs:253:15
[INFO] [stdout]     |
[INFO] [stdout] 253 |         card. += effect.defense_point;
[INFO] [stdout]     |               ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `}`
[INFO] [stdout]    --> src/lib.rs:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 |         }
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `{`, found `}`
[INFO] [stdout]    --> src/lib.rs:259:9
[INFO] [stdout]     |
[INFO] [stdout] 258 |             if event.
[INFO] [stdout]     |             -- this `if` expression has a condition, but no block
[INFO] [stdout] 259 |         }
[INFO] [stdout]     |         ^ expected `{`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `events` in this scope
[INFO] [stdout]    --> src/lib.rs:257:22
[INFO] [stdout]     |
[INFO] [stdout] 257 |         for event in events {
[INFO] [stdout]     |                      ^^^^^^ help: you might have meant to use the available field: `self.events`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `events` in this scope
[INFO] [stdout]    --> src/lib.rs:257:22
[INFO] [stdout]     |
[INFO] [stdout] 257 |         for event in events {
[INFO] [stdout]     |                      ^^^^^^ help: you might have meant to use the available field: `self.events`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:114:51
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 deck_parsed.push(cards::code2card(code));
[INFO] [stdout]     |                                                   ^^^^
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   expected `&str`, found struct `String`
[INFO] [stdout]     |                                                   help: consider borrowing here: `&code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:114:51
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 deck_parsed.push(cards::code2card(code));
[INFO] [stdout]     |                                                   ^^^^
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   expected `&str`, found struct `String`
[INFO] [stdout]     |                                                   help: consider borrowing here: `&code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:114:34
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 deck_parsed.push(cards::code2card(code));
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^ expected struct `Card`, found enum `std::result::Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Card`
[INFO] [stdout]                  found enum `std::result::Result<Card, errors::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:114:34
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 deck_parsed.push(cards::code2card(code));
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^ expected struct `Card`, found enum `std::result::Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Card`
[INFO] [stdout]                  found enum `std::result::Result<Card, errors::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:244:35
[INFO] [stdout]     |
[INFO] [stdout] 244 |                 self.apply_effect(effect)
[INFO] [stdout]     |                                   ^^^^^^ expected struct `Effect`, found `&mut Effect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:244:35
[INFO] [stdout]     |
[INFO] [stdout] 244 |                 self.apply_effect(effect)
[INFO] [stdout]     |                                   ^^^^^^ expected struct `Effect`, found `&mut Effect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `&Card`
[INFO] [stdout]    --> src/lib.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |         card. += effect.defense_point;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         cannot use `+=` on type `&Card`
[INFO] [stdout]     |
[INFO] [stdout]     = note: an implementation of `std::ops::AddAssign` might be missing for `&Card`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `&Card`
[INFO] [stdout]    --> src/lib.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |         card. += effect.defense_point;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         cannot use `+=` on type `&Card`
[INFO] [stdout]     |
[INFO] [stdout]     = note: an implementation of `std::ops::AddAssign` might be missing for `&Card`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0368, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0368, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `runterra-of-legends-simulator`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "03352cc6084b5e4a578fd18c2bfbc388171263920b66e1c0dcb7dc847ee3413c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03352cc6084b5e4a578fd18c2bfbc388171263920b66e1c0dcb7dc847ee3413c", kill_on_drop: false }`
[INFO] [stdout] 03352cc6084b5e4a578fd18c2bfbc388171263920b66e1c0dcb7dc847ee3413c
